package com.example.work.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.work.entity.Dbhosp;
import com.example.work.mapper.DbHospMapper;
import com.example.work.service.IDbHospService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

/**

 */
@Service
public class IDbHospServiceImpl extends ServiceImpl<DbHospMapper, Dbhosp> implements IDbHospService {

    @Override
    public boolean updateHospById(Dbhosp dbhosp) {
        // 调用 BaseMapper 的 updateById 方法
        return this.updateById(dbhosp);
    }
}
